﻿<%@ Page Language="C#" MasterPageFile="~masterurl/custom.master" AutoEventWireup="true"
  Inherits="Kiiro.SiteDefinition.ProjectPages.EditComment, Kiiro.SiteDefinition, Version=1.2.0.7, Culture=neutral, PublicKeyToken=5b2f4277f61b7816" %>

<%@ Register TagPrefix="v2" TagName="AttachmentControl" Src="~/_controltemplates/Kiiro/AttachmentControl.ascx" %>

<asp:Content ID="ContentTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <asp:Literal ID="litTitle" runat="server" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

  <script type="text/javascript">
      $(InitAttachments);
  </script>

  <div class="body-pad">
    <div class="body">
      <div class="wrap">
        <div class="panel-pad">
          <div class="panel">
            <div class="panel-wrap">
              <div class="panel-title">
                <h2>
                  Comment Settings</h2>
              </div>
              <div class="panel-content">
                <div class="settings">
                  <div class="row borderless">
                    <dl>
                      <dt>
                        <label for="text">
                          Comment Body <span class="required">*</span></label></dt>
                      <dd>
                        <asp:TextBox ID="txtCommentText" runat="server" CssClass="input" Rows="3" TextMode="MultiLine" /></dd>
                      <dd>
                        <asp:Label ID="lblCommentTextMessage" runat="server" class="validation-message" /></dd>
                    </dl>
                    <dl>
                      <dt>
                        <h3>
                          Write a message for the comment.</h3>
                      </dt>
                      <dd>
                        This is the body text for the comment.</dd>
                    </dl>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>        
        <div class="panel-pad">
          <div class="panel">
            <div class="panel-wrap">
              <div class="panel-title">
                <h2>
                  Attachment Settings</h2>
              </div>
              <div class="panel-content">
                <div class="settings">
                  <div class="row borderless">
                    <v2:AttachmentControl id="attachmentControl" runat="server" Title="Attachments" />
                    <dl>
                      <dt>
                        <h3>
                          Provide an attachment(s) to be associated with the Comment.</h3>
                      </dt>
                      <dd>
                        Browse to the file you wish to include as an attachment. Once you have selected a file, save the Discussion to attach.
                      </dd>
                    </dl>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="form-buttons">
          <ul>
            <li>
              <asp:LinkButton ID="btnSave" runat="server" Text="SAVE COMMENT" OnClick="btnSave_Click">
                <img alt="" src="/_layouts/images/Kiiro/button-save.png" />
              </asp:LinkButton>
            </li>
            <li>
              <asp:LinkButton ID="btnCancel" runat="server" Text="CANCEL" OnClick="btnCancel_Click">
                <img alt="" src="/_layouts/images/Kiiro/button-cancel.png" />
              </asp:LinkButton>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</asp:Content>
